home *** CD-ROM | disk | FTP | other *** search
- Path: cup.portal.com!squirrel
- From: squirrel@cup.portal.com (Sean - Curtin)
- Newsgroups: comp.sys.amiga.hardware
- Subject: Re: simple Z2 on A1200 ???
- Date: 10 Apr 1996 22:20:03 -0700
- Organization: The Portal System (TM)
- Sender: pccop@unix.portal.com
- Distribution: world
- Message-ID: <151517@cup.portal.com>
- References: <judas.0j85@tomtec.abg.sub.org> <151428@cup.portal.com>
- <1079.6672T787T1691@mbox2.swipnet.se>
- NNTP-Posting-Host: news1.unix.portal.com
-
-
- >peter.gabrielsson@mbox2.swipnet.se (Peter Gabrielsson)
- >I would be interested to c your design, I've been thinking about this myself
- >Thank You.
- >Peter.
-
- Tell your dad that I loved Sledgehammer. 8^) 8^) (SCNR)
-
- I'll just post it here again. Maybe it will illicit more replies/suggestions.
-
- ***
-
- I got bored the other day and decided to look over what it would take
- to make a Zorro 2 bus adapter for the 1200. After a few hours of digging
- through various books and taking some readings with the scope, I came up
- with the following preliminary design. I would appreciate it if any 680xx
- gurus out there could tell me if I'm headed in the right direction.
- (Dave Haynie, if you're out there this means you. ;^)
-
- The design is for a single slot adapter much like what you would use to
- put a Zorro card on a 500. There is no bus buffering or arbitration yet.
- I want to take this one step at a time. If I can get, say, a 2091 to work
- on this setup as it does on a bus-adapted 500, then I'll move on to more
- complex designs. At this point, the less I have to debug, the better.
-
- Don't waste your time trying to build this version because it probably
- won't work...but then if you understand all the notation you could probably
- design your own anyway. 8^)
-
- Things I'm still wondering about or planning:
- 1. Tri-stating /UDS,/LDS, & /VMA during a DMA cycle. (/BGACK low.)
- 2. Confirm /UDS,/LDS, & /VMA equations.
- 3. /EINT1 encoding. Not a big deal.
- 4. Read-Modify-Write? Worth it? Implement with: /RMC * /AS(in) = /AS(out)
- and force /DSACKn to byte mode?
- 5. Generate /DTACK TO Zorro during DMA cycle? Do memory accesses generate
- /DTACK? I wouldn't think so, but you never know...
- 4. ? suggestions...
-
- Nevertheless, the wiring/logic I've computed is as follows:
-
- A1200 Side (Pin#s) Dir Zorro2 Side (Pin#s) Comments
- ------------------------------------------------------------------------
- A23-A1 (11-18,21-28, <====> A23-A1(59,57,58,56,54, Straight
- 31-37) 52,47,45,43,41, through.
- 39,38,36,34,32,
- 30,28,23,21,24,
- 26,27,29)
-
- D31-D16 (41-48,51-58) <====> D15-D0(63,65,67,69,71, Straight
- 76,78,80,82,84, through.
- 86,83,81,79,77,
- 75)
-
- +5V,+12V,-12V(10,149, =====> +5V,+12V,-12V(5&6,10, Zorro pin 8=-5V.
- 150) 20) Could use 7905
- from pin 20 if nec.
-
- Gnd(9,19,29,39,49,59, Gnd(1-4,13,25,37,49, Mix & match.
- 69,79,101,119,139) <====> 61,73,85,87-91,
- 99,100)
-
- /IPL2-/IPL0(81-83) <===== /EINT7,5,4(40,42,44) Interrupt lines.
-
- /RST(85) <====> /RST,/BUSRST(53,94) Reset.
-
- /HLT(86) <====> /HLT(55) Halt.
-
- R/W(93) =====> READ(68)
-
- /BERR(94) <===== /BERR(46) a.k.a. /BEER ;^)
-
- /AS(91) =====> /AS(74) Straight through.
-
- ECLOCK(100) =====> E(50) 716 Khz clock.
-
- FC2-0(103-105) =====> FC2-0(35,33, Function codes.
- 31) Same on 000-030.
-
- /BR(111) <===== /BRn(60) Bus Request
-
- /BG(112) =====> /BGn(64) Bus Grant
-
- /BOSS(114) <===== /BGACK(62) Bus Grant Ack.
-
- /OVR(133) <===== /OVR(17) Override. ?
-
- XRDY(134) <===== XRDY(18) Wait state thing.
-
- /INT2(137) <===== /INT2(19) Interrupt 2.
-
- /INT6(138) <===== /INT6(22) " 6.
-
- /CONFIGOUT(145) =====> /CFGINn(12) Autoconfig flag.
-
- nc(for now). <===== /EINT1(96) Rarely used int.
- line. Add later.
-
-
- UDS/LDS Stuff-------------------------------------------------------------
- /DS(92) Generate u/l
- LDS= /"/DS"*"A0"*"/FPUCS(115)"+ data strobes.
- /"/DS"*"SIZE1(89)"*"/FPUCS"+
- /"/DS"*/"SIZE0(90)"*"/FPUCS"
- Adapted from old
- /LDS= /"LDS" =====> /LDS(70) Transactor LUCAS
- /UDS= "/DS"+"A0"+/"/FPUCS"===> /UDS(72) Article.
- Don't have a table
- (Quotes denote proper signal name.) for SIZE1, SIZE0.
-
-
- DTACK Stuff---------------------------------------------------------------
- /DSACK1(97) <===== pullup<=+5V Lock for 16 bit
- /DSACK2(98) <===== /DTACK(66) transfers.
- Assuming:
- /DSACK 2 1
- ----------
- 1 1 = Wait/noAck
- 1 0 = 8 bit Ack
- 0 1 = 16 bit Ack
- 0 0 = 32 bit Ack
-
-
- VMA/VPA Stuff-------------------------------------------------------------
- +---+ +---+ <--74F73
- /{/AS(91)+/VPA}-|J Q|---|J Q|-nc Generate /VMA.
- E(100)--O|> | +O|> |
- Gnd(101)---|K/Q|---|K/Q|==>/VMA(51) (From Motorola
- | C | | | C | 68000 book.P.7-2)
- +---+ | +---+
- /{/AS+/VPA}-------O | |
- | nc
- 7MHZ(Z92)-----+
- See clock logic.
- ^
- / \
- |
- |
- to /VMA logic. <===== /VPA(48) See /VMA above.
-
-
-
- Clocks--------------------------------------------------------------------
- CCKA(117)---------------=====> /C1 Clock(16) 3.58 Mhz.
- (tested & verified)
- +---+ 74F74a1
- CCKA----|D Q| CPUCLKA=14Mhz.
- (117) | |
- CPUCLKA-|>/Q|-----------=====> /C3 Clock(14) 3.58 Mhz.
- (99) +---+ (tested & verified) +90 deg. of /C1.
-
- +---------+ 74F74a2
- | +---+ |
- +--|D Q|--)--------=====> 7MHz(92) 7.16 MHz.
- | | | (tested & verified)
- CPUCLKA-|>/Q|--+
- (99) +---+
-
- +---------+ 74F74b1
- | +---+ |
- +--|D Q|--)--------=====> CDAC Clock(15) 7.16 MHz.
- | | | +90 deg. of 7MHz.
- /CPUCLKA|>/Q|--+ (calculated only)
- +---+
- Notes:
- All Flip-Flop /CLEAR lines to /RST(85).
- Phase diff. ref.: Scope triggering on CCKA. Centered on rising edge.
-
-
- Buster Stuff. Add Later.--------------------------------------------------
- nc (future) <===== /OWN(7) Buster stuff...
- nc " <===== /SLAVEn(9) n = Slot #(1-5).
- nc " <===== /CFGOUTn(11)
- nc " =====> /GBG(95)
- +5V(10) =====> DOE(93)
-
-
- Unused 1200 Exp. Bus Lines------------------------------------------------
- D15-D0(61-68,71-78) In/Out Unused data bits.
- /AVEC (96) In Autovector.
- /RMC (106) Out Read/Mod/Write
- FPUSENSE(116) In? FPU stuff.
- /RESET ? Subset of /RST?
- /NETCS,/SPARECS(121,122)Out,Out Mysterious chip sel.
- /RTCCS(123) Out Real time clock sel.
- /FLASH,/REG,/CCENA,/WAIT PCMCIA control stuff?
- (124,125,126,127) ?,?,?,?
- /KBRESET(128) In/Out Reset from keyb micro
- /IORD,/IOWR,/OE,/WE Stuff for interfacing
- (129,130,131,132) Out,Out,Out,Out Intel I/O, incl. RTC.
-
- /ZORRO(135) In??? WHAT IS THIS???!!!
-
- /WIDE(136) In??? This too???!!!
- SYSTEM1,SYSTEM0(141,142)Gnd. Fancy Grounds.
- /xRxD,/xTxD(143,144) In,Out Paula Serial lines?
- AUDIO Gnd,AUDIO LEFT, Paula Audio.
- AUDIO RIGHT(146,147,148)Gnd,Out,Out
-
- Whaddya think sirs?
- ...Sean.
-